package com.example.ticketingserver.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;

@Schema(description = "订单详情")
@Data
public class OrderDetails {
    @Schema(description = "订单id")
    private Integer id;

    @Schema(description = "订单用户名称")
    private String username;
    @Schema(description = "订单用户性别 1男 2女")
    private Integer sex;

    @Schema(description = "订单车次id")
    private Integer lid;
    @Schema(description = "订单起始站")
    private String startingstation;
    @Schema(description = "订单终点站")
    private String destination;
    @Schema(description = "发车日期")
    private Date date;
    @Schema(description = "发车时间")
    private String  departuretime;
    @Schema(description = "到达时间")
    private String  arrivaltime;
    @Schema(description = "售价")
    private BigDecimal price;

    @Schema(description = "订单时间")
    private Date orderdate;





}
